package com.qinglei.recoup.system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 房间表
 *
 * @author syp
 */
@Data
@ApiModel(value="Bed对象", description="房间表")
public class BedUsable implements Serializable {


    @ApiModelProperty(value = "床位ID")
    private Integer id;

    @ApiModelProperty(value = "床位名称")
    private String name;

    @ApiModelProperty(value = "楼ID")
    private Integer buildingId;

    @ApiModelProperty(value = "楼层ID")
    private Integer floorId;

    @ApiModelProperty(value = "房间ID")
    private Integer roomId;

    @ApiModelProperty(value = "监测仪是否开启 1-开启 0-关闭")
    private Integer isRadarOn;

    @ApiModelProperty(value = "状态 0-正常 1-离床 2-监测仪离线")
    private Integer status;

    @ApiModelProperty(value = "事件ID")
    private Integer eventId;

    @ApiModelProperty(value = "时间发生时间")
    private LocalDateTime happenTime;

    @ApiModelProperty(value = "是否监测中 1-是 0-否")
    private Integer isMonitor;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime modifyTime;

    @ApiModelProperty(value = "租户ID")
    private Integer tenantId;

    @ApiModelProperty(value = "是否可用 存在-已占用  不存在-未占用")
    private Integer isUsable;

}
